Skip to content

harness.adoption-go-base: adopt marathon 0.22.0 - #40

Merged
JaimeStill merged 9 commits into
mainfrom
adopt
Nov 21, 2026
Merged

JaimeStill merged 9 commits into
mainfrom
adopt

Conversation

@JaimeStill

Copy link
Copy Markdown
Contributor

harness.adoption-go-base · task 1/1 · adopt

Summary

repo diff new
go-database 25 files, +215 −487 —
go-observability 20 files, +104 −197 context/logs-pipeline.md (planned)
go-cli-sdk 29 files, +259 −476 docs/dispatch.md
  • All three pin marathon 0.22.0. Each check now runs lint-context and lint-references after the
    module loop, and fails when either fails.
  • CI uses mise-action v5.2.10. The currency command reports nothing trailing.
  • Every comment is one of the five kinds. nolintlint requires a reason on every suppression, and
    each STANDARDS.md has a comment rule.

Core changes

  1. The check runs marathon's lints. If a lint isn't installed, the check names the fix.
    run_lint() { command -v "$1" >/dev/null || { echo "FAIL: $1 is not on PATH; run mise install" >&2; return 1; }; "$1"; }
  2. Capability maps. Each entry is now a name, (built) or (planned), and a link to its
    home. Map prose with no other home moved to the README.
  3. About 890 comment lines removed. Reasoning with no other home moved into package docs
    (sweep, admin), names (nonUTCLocalZone, replacedDefault), or go-cli-sdk's
    docs/dispatch.md.
  4. currency.sh is named functions in all three repos, one shared shape. An empty check uses
    if, so set -e can't stop the script partway.

Verify

mise run check: ✓ in all three (build, vet, gofmt, go test -race, golangci-lint with
nolintlint, lint-context, lint-references)

  1. mise run currency in each repo → exit 0, no output.
  2. In a copy of mise.toml pinned to 0.21.0, mise outdated --bump --local → reports
    github:standards-lab/claude-plugins 0.21.0 -> 0.22.0.
  3. Run the check with the lints off PATH → FAIL: lint-context is not on PATH; run mise install,
    exit 1.
  4. git diff --stat main...adopt -- '*go.mod' '*CHANGELOG.md' → empty in each repo.

Decided without you

  1. Added [settings] task.run_auto_install = false, as ai-hosting has, so a task never installs
    a missing tool.
  2. go-observability's logs-pipeline note records that otel/log is at v1.47.0. The slog bridge
    and otlploggrpc are still pre-v1, so the README's trigger hasn't fired yet.
  3. go-observability: validate reads math.IsNaN(ratio) || ratio < 0 || ratio > 1. It behaves
    the same as before.
  4. go-cli-sdk's README links docs/dispatch.md, and its context README lists docs/ as a home.
  5. Some removed test-only comments have no new home: the otel-globals reason the telemetry tests
    don't run in parallel, the keepExporter note, the ForceFlush note, and the depguard
    $-anchoring note. Test and helper names, plus the paired X$/X/ entries, cover them.
  6. Dropped decision "adopt: CHANGELOG entries record only go.mod requirement changes". No later
    task here relies on it. The coordinator rule lands with core's sync.

Redirects and escalations

  1. Mid-build correction: the shared slice instructions first barred additions to exported docs.
    They were corrected to allow moving reasoning there, and go-database added its reasoning
    back (2d29dd2).

Merge danger: two-way door · blast radius: the three repos' tooling, docs, and comments; no
API or behavior change, no release.

Needs you: none

Sync

  • coordinator
    • roadmap/index.toml: remove harness.adoption-go-base from active
    • roadmap/harness.adoption-go-base.toml: delete
  • next: none. The remaining harness.adoption goals are already active. The top of planned
    (sites.status-reports) is proposed, not staged: harness-adoption.md holds the v1 goals' sessions
    until every adoption syncs, and the planned queue waits for a plan.

- mise.toml pins github:standards-lab/claude-plugins at 0.22.0 (marathon/v prefix) and sets
  task.run_auto_install = false, as ai-hosting does.
- The check runs lint-context and lint-references once from the project root after its module
  loop, fails when either fails, and fails with "run mise install" when one is not on PATH; its
  description names both.
- context/README.md: every capability map entry is (built) and links its doc.go; the map's
  intro and trailing paragraph go. sqlate's ownership already sits in the README's Standard
  section; the admin service's HTTP half being application code moves there as a bullet.
- .claude/marathon.toml drops its comments.
Doc comments on unexported identifiers and test functions, in-body and
trailing comments, and unexported struct-field comments go from source
and tests; package docs and docs on exported identifiers (export_test.go
hooks and admin's trailing field docs included) stay unchanged.

.golangci.yml enables nolintlint with require-explanation and
require-specific, its rationale replaced by references to tests-and-docs.md
and comments.md. mise.toml's comments give way to one reference to
release-and-ci.md, and the build task's description carries the GOWORK=off
reason. .gitignore drops its comments. scripts/currency.sh keeps its header
and splits its scans into named report_outdated_* functions; matches loses
its doc comment.

STANDARDS.md gains the comment rule over source, tests, scripts, and every
configuration file (TOML, YAML, .gitignore).
…docs

Per the corrected comment rule, reasoning a reader needs that sat only in
removed unexported comments moves to a home: sweep's package doc says a
cycle the drain cancelled still releases its claim (the unlock outlives
ctx); admin's package doc says a re-verification yields to an operation
that determined the schema while it read, and an aborted operation leaves
Ready as it was (the gen counter's purpose); postgres's TestMain names its
zone nonUTCLocalZone. The rest of the removed reasoning was already in
exported docs, package docs, or test names.
Align the check's lint step, the upgrade task's description, and the currency script with go-observability and go-cli-sdk, and name lint-context and lint-references in the README's check line.
@JaimeStill
JaimeStill merged commit 066eefc into main Nov 21, 2026
1 check passed
@JaimeStill
JaimeStill deleted the adopt branch November 21, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant